﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_ProjectLoggingBusiness
    {
        Task<PageResult<PB_ProjectLogging>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<PB_ProjectLogging> GetTheDataAsync(string id);
        Task AddDataAsync(PB_ProjectLogging data);
        Task UpdateDataAsync(PB_ProjectLogging data);
        Task DeleteDataAsync(List<string> ids);

        /// <summary>
        /// 通过楼号获取协作者列表
        /// </summary>
        /// <param name="input">筛选条件</param>
        /// <param name="Bulid">楼号id</param>
        /// <returns></returns>
        Task<PageResult<PB_ProjectLogging>> GetDataLogListAsync(PageInput<ConditionDTO> input,string Bulid);

        Task<PageResult<PB_ProjectLoggingDto>> GetDataLogDtoListAsync(PageInput<ConditionDTO> input);
    }
}